//引入创建store的包
import{
    configureStore
} from '@reduxjs/toolkit'


//引入reducer
import countReducer from './slice/countSlice'
import movieReducer from './slice/movieSlice'


//创建store
const store = configureStore({
   reducer:{
    count: countReducer,
    movie: movieReducer
   }
})

//暴露store
export default store